package com.livesource.client.web.sourceCode.testing;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Button;
import com.livesource.client.model.entry.ProjectClass;

/**
 * 
 * @UserInterface
 */
public class ButtonCreateNewTestClass extends Button {

	public ButtonCreateNewTestClass(final ProjectClass entry) {

		this.setText("Create Unit Test");

		this.addClickHandler(new ClickHandler() {

			@Override
			public void onClick(ClickEvent event) {

				// Development.featureVisualizationPanel.clear();
				// Development.featureVisualizationPanel.add(new
				// LoadingPanel());

				// new AddTestClass(entry);

			}
		});
	}

}
